package cn.huobi.system.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import cn.huobi.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author huobi
 * @since 2022-10-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role extends BaseDomain{

    private String name;
    private String sn;

    // 菜单
//    private List<Menu> menus = new ArrayList<>();
//    // 权限
//    private List<Permission> permissions = new ArrayList<>();

    private List<Menu> ownMenus;
    // 权限id集合
    private List<Long> permissions;
    // 菜单id集合
    private List<Long> menus;
}
